<template>
    <div>
        <Socket :loginReq="loginInfo" :target="target"></Socket>
    </div>
</template>
<script>
import Socket from '../components/Socket'
import { LoginPackage } from '../Bean';
export default {
    computed:{
        loginInfo(){
            return new LoginPackage(this.$route.query.user)
        },
        target(){
            return this.$route.query.target;
        }
    },
    components:{
        Socket
    }
}
</script>